package com.ruoyi.sys.energ.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 计量点设备类型和用途管理对象 tb_energ_use
 * 
 * @author ruoyi
 * @date 2022-05-24
 */
public class TbEnergUse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long euId;

    /** 设备类别编号 */
    @Excel(name = "设备类别编号")
    private String euSid;

    /** 设备类别名称
 */
    @Excel(name = "设备类别名称 ")
    private String euName;

    /** 用途(电表
  1. 商业用电
   2. 居民用电水表
  3. 清洁用水
   4. 办公用水) */
    @Excel(name = "用途(电表 1. 商业用电 2. 居民用电 水表 3. 清洁用水 4. 办公用水)")
    private Long euUse;

    /** 用途说明 */
    @Excel(name = "用途说明")
    private String euExplain;

    /** 添加时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "添加时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date euDate;

    public void setEuId(Long euId) 
    {
        this.euId = euId;
    }

    public Long getEuId() 
    {
        return euId;
    }
    public void setEuSid(String euSid) 
    {
        this.euSid = euSid;
    }

    public String getEuSid() 
    {
        return euSid;
    }
    public void setEuName(String euName) 
    {
        this.euName = euName;
    }

    public String getEuName() 
    {
        return euName;
    }
    public void setEuUse(Long euUse) 
    {
        this.euUse = euUse;
    }

    public Long getEuUse() 
    {
        return euUse;
    }
    public void setEuExplain(String euExplain) 
    {
        this.euExplain = euExplain;
    }

    public String getEuExplain() 
    {
        return euExplain;
    }
    public void setEuDate(Date euDate) 
    {
        this.euDate = euDate;
    }

    public Date getEuDate() 
    {
        return euDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("euId", getEuId())
            .append("euSid", getEuSid())
            .append("euName", getEuName())
            .append("euUse", getEuUse())
            .append("euExplain", getEuExplain())
            .append("euDate", getEuDate())
            .toString();
    }
}
